/**
 * 
 */
package com.sunwayhorizo.health.business.dto.clinic.emr.template;

import java.io.Serializable;
import java.util.List;

import com.sunwayhorizo.health.business.dto.DictionaryDTO;

/**
 * @ClassName TemplateDTO <br>
 * @PackageName com.sunwayhorizo.health.business.dto.emr <br>
 * @Description 电子病历模板管理DTO <br>
 * @Date 2010-12-13 <br>
 * @Version 1.0 <br>
 * @ModifiedDesc 添加属性<br>
 * @ModifiedDate <br>
 * @ModifiedBy jinzw<br>
 * @Copyright 2010-2020 北京三维海容 All Rights Reserved. <br>
 */
public class TemplateDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5060289917167478671L;

	/**
	 *主键 ID
	 */
	private String id;
	
	/**
	 * 模板 名称
	 */
	private String name;
	
	
	/**
	 * 模板分类id（实体）
	 */
	private String classId;
	
	/**
	 * 分类code编码(质控编码)
	 */
	private String classCode;
	
	/**
	 * 当前登录人
	 * 员工角色id
	 */
	private String empRoleId;
	
	
	/**
	 * 当前登录人的
	 * 科室角色id
	 */
	private String deptRoleId;
	
	/**
	 * 当前登录人所有的工作组集合
	 */
	@SuppressWarnings("rawtypes")
    private List workGroupId;
	
	/**
	 * 所属范围显示名称
	 */
	private String scopeName;
	
	/**
	 * 当前登录人的
	 * 组织机构角色id
	 */
	private String orgRoleId;
	
	/**
	 * 审核角色id
	 */
	private String auditorRoleId;
	
	/**
	 * 审核范围
	 * 全院：AUD_HOSPITAL
	 * 科室：AUD_DEPTMENT
	 */
	private String auditScope;
	
	/**
	 * 模板所属类型
	 * HOSPITAL 机构，全院
	 * DEPARTMENT 科室
	 * WORKGROUP 工作组
	 * PSN 个人
	 */
	private String belongType;
	
	/**
	 * 模板所属科室角色id
	 */
	private String belDeptRoleId;
	
	/**
	 * 文书类型
	 */
	private DictionaryDTO writType= new DictionaryDTO();
	
    /**
     * 模板内容，以二进制形式传输
     */
	private byte [] contents;

	/**
	 * 是否另页书写
	 * 0，不需要
	 * 1，需要
	 */
	private String isForcePage;
	
	/**
	 *模板分类/模板 说明
	 */
	private String comments;

	/**
	 * 
	 * 模板状态 
	 * 0  草稿
	 * 1  送审
	 * 2  已审批
	 * 3  打回
	 * 4  申请修改
	 * 5  申请修改通过
	 * 6  申请修改未通过
	 * 7  申请删除
	 * 8  申请删除通过
	 * 9  申请删除未通过
	 */
	private String state;
	
	/**
	 * 创建人编码
	 */
	private String createdBy;
	
	/**
	 * 创建人中文名称
	 */
	private String createByName;
	
	/**
	 * 创建时间
	 */	
	private String creationDate;
	
	/**
	 * 最后修改人
	 */
	private String lastUpdateBy;
	
	
	/**
	 * 最后修改时间
	 */
	private String lastUpdateDate;
	
	/**
	 * 打回信息
	 */
	private String notPassInfo;


	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}


	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return the classId
	 */
	public String getClassId() {
		return classId;
	}


	/**
	 * @param classId the classId to set
	 */
	public void setClassId(String classId) {
		this.classId = classId;
	}


	/**
	 * @return the contents
	 */
	public byte[] getContents() {
		return contents;
	}


	/**
	 * @param contents the contents to set
	 */
	public void setContents(byte[] contents) {
		this.contents = contents;
	}


	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}


	/**
	 * @param comments the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}


	/**
	 * @return the state
	 */
	public String getState() {
		return state;
	}


	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}


	/**
	 * @return the createdBy
	 */
	public String getCreatedBy() {
		return createdBy;
	}


	/**
	 * @param createdBy the createdBy to set
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}


	/**
	 * @return the creationDate
	 */
	public String getCreationDate() {
		return creationDate;
	}


	/**
	 * @param creationDate the creationDate to set
	 */
	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}


	/**
	 * @return the lastUpdateBy
	 */
	public String getLastUpdateBy() {
		return lastUpdateBy;
	}


	/**
	 * @param lastUpdateBy the lastUpdateBy to set
	 */
	public void setLastUpdateBy(String lastUpdateBy) {
		this.lastUpdateBy = lastUpdateBy;
	}


	/**
	 * @return the lastUpdateDate
	 */
	public String getLastUpdateDate() {
		return lastUpdateDate;
	}


	/**
	 * @param lastUpdateDate the lastUpdateDate to set
	 */
	public void setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	/**
	 * @return the isForcePage
	 */
	public String getIsForcePage() {
		return isForcePage;
	}

	/**
	 * @param isForcePage the isForcePage to set
	 */
	public void setIsForcePage(String isForcePage) {
		this.isForcePage = isForcePage;
	}

	/**
	 * @return the belongType
	 */
	public String getBelongType() {
		return belongType;
	}


	/**
	 * @param belongType the belongType to set
	 */
	public void setBelongType(String belongType) {
		this.belongType = belongType;
	}


	/**
	 * @return the deptRoleId
	 */
	public String getDeptRoleId() {
		return deptRoleId;
	}


	/**
	 * @param deptRoleId the deptRoleId to set
	 */
	public void setDeptRoleId(String deptRoleId) {
		this.deptRoleId = deptRoleId;
	}


	/**
	 * @return the orgRoleId
	 */
	public String getOrgRoleId() {
		return orgRoleId;
	}


	/**
	 * @param orgRoleId the orgRoleId to set
	 */
	public void setOrgRoleId(String orgRoleId) {
		this.orgRoleId = orgRoleId;
	}


	/**
	 * @return the empRoleId
	 */
	public String getEmpRoleId() {
		return empRoleId;
	}


	/**
	 * @param empRoleId the empRoleId to set
	 */
	public void setEmpRoleId(String empRoleId) {
		this.empRoleId = empRoleId;
	}


	/**
	 * @return the auditorRoleId
	 */
	public String getAuditorRoleId() {
		return auditorRoleId;
	}


	/**
	 * @param auditorRoleId the auditorRoleId to set
	 */
	public void setAuditorRoleId(String auditorRoleId) {
		this.auditorRoleId = auditorRoleId;
	}

	/**
	 * @return the writType
	 */
	public DictionaryDTO getWritType() {
		return writType;
	}


	/**
	 * @param writType the writType to set
	 */
	public void setWritType(DictionaryDTO writType) {
		this.writType = writType;
	}


	public String getAuditScope() {
		return auditScope;
	}


	public void setAuditScope(String auditScope) {
		this.auditScope = auditScope;
	}


	public String getBelDeptRoleId() {
		return belDeptRoleId;
	}


	public void setBelDeptRoleId(String belDeptRoleId) {
		this.belDeptRoleId = belDeptRoleId;
	}


	public String getScopeName() {
		return scopeName;
	}


	public void setScopeName(String scopeName) {
		this.scopeName = scopeName;
	}


	public String getCreateByName() {
		return createByName;
	}


	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}


	public String getNotPassInfo() {
		return notPassInfo;
	}


	public void setNotPassInfo(String notPassInfo) {
		this.notPassInfo = notPassInfo;
	}


	public String getClassCode() {
		return classCode;
	}


	public void setClassCode(String classCode) {
		this.classCode = classCode;
	}


    @SuppressWarnings("rawtypes")
    public List getWorkGroupId()
    {
        return workGroupId;
    }


    @SuppressWarnings("rawtypes")
    public void setWorkGroupId(List workGroupId)
    {
        this.workGroupId = workGroupId;
    }
	
}
